<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <head>
    </head>
    <body>
        <ui:composition template="/templates/default.xhtml">
		
            <ui:define name="display">
            
            	<h:outputText value="#{msg.dbConfigName} > #{msg.locationLevelsName}" />
            
                <h1>#{msg.locationLevelsConfig}</h1>
                <h:messages id="successInfo" globalOnly="true" />
                
                <h:outputText value="#{msg.locationLevelsInstruction1}" /><br />
                <h:outputText value="#{msg.locationLevelsInstruction2}" /><br /><br />
                
                <h:form>
                    <h:panelGrid columns="4">
                    
                    	<h:outputText value="#{msg.locationLevels1}:"/>
                    	<h:outputText />
                    	<h:inputText id="level1" value="#{locationLevelConfig.level1}" converter="#{defaultConverter}"/>
                    	<h:message for="level1" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                    	
                        <h:outputText value="#{msg.locationLevels2}:"/>
                    	<h:outputText />
                    	<h:inputText id="level2" value="#{locationLevelConfig.level2}" converter="#{defaultConverter}"/>
                    	<h:message for="level2" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                    
                    	<h:outputText value="#{msg.locationLevels3}:"/>
                    	<h:outputText />
                    	<h:inputText id="level3" value="#{locationLevelConfig.level3}" converter="#{defaultConverter}"/>
                    	<h:message for="level3" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                          
                        <h:outputText value="#{msg.locationLevels4}:"/>
                    	<h:outputText />
                    	<h:inputText id="level4" value="#{locationLevelConfig.level4}" converter="#{defaultConverter}"/>
                    	<h:message for="level4" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                          
                        <h:outputText value="#{msg.locationLevels5}:"/>
                    	<h:outputText />
                    	<h:inputText id="level5" value="#{locationLevelConfig.level5}" converter="#{defaultConverter}"/>
                    	<h:message for="level5" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                          
                        <h:outputText value="#{msg.locationLevels6}:"/>
                    	<h:outputText />
                    	<h:inputText id="level6" value="#{locationLevelConfig.level6}" converter="#{defaultConverter}"/>
                    	<h:message for="level6" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                    
                    	<h:outputText value="#{msg.locationLevels7}:"/>
                    	<h:outputText />
                    	<h:inputText id="level7" value="#{locationLevelConfig.level7}" converter="#{defaultConverter}"/>
                    	<h:message for="level7" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                    
                    	<h:outputText value="#{msg.locationLevels8}:"/>
                    	<h:outputText />
                    	<h:inputText id="level8" value="#{locationLevelConfig.level8}" converter="#{defaultConverter}"/>
                    	<h:message for="level8" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                    
                    	<h:outputText value="#{msg.locationLevels9}:"/>
                    	<h:outputText />
                    	<h:inputText id="level9" value="#{locationLevelConfig.level9}" converter="#{defaultConverter}"/>
                    	<h:message for="level9" errorClass="error" errorStyle="color: red" infoStyle="color: green"/>
                    
                    </h:panelGrid>
                    <br />
                    <h:commandButton action="#{locationLevelConfig.create}" value="#{msg.lblCreate}" />
                </h:form>
            </ui:define>
        </ui:composition>
    </body>
</html>